home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / uniput.zip / MAKEFILE < prev    next >
Text File  |  1992-10-26  |  956b  |  37 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: uniput.exe uniput.hlp
  6.  
  7.  
  8. # Update the resource if necessary
  9. uniput.rbj: uniput.rc uniput.h
  10.     rc -r -fo uniput.res uniput.rc
  11.     cvtres -$(CPU) uniput.res -o uniput.rbj
  12.  
  13. # Update the online help file if necessary.
  14. uniput.hlp: uniput.hpj uniput.rtf
  15.     if exist uniput.PH del uniput.PH
  16.     hc -n uniput.hpj
  17.  
  18.  
  19. # Update the object files if necessary
  20.  
  21. uniput.obj: uniput.c uniput.h
  22.     $(cc) $(cdebug) $(cflags) $(cvars) uniput.c
  23.  
  24. display.obj: display.c uniput.h
  25.     $(cc) $(cdebug) $(cflags) $(cvars) display.c
  26.  
  27. status.obj: status.c uniput.h
  28.     $(cc) $(cdebug) $(cflags) $(cvars) status.c
  29.  
  30.  
  31. # Update the executable file if necessary
  32.  
  33. uniput.exe: uniput.obj uniput.rbj display.obj status.obj
  34.     $(cvtobj) $(cvtdebug) *.obj
  35.     $(link) $(linkdebug) $(guiflags) -out:uniput.exe \
  36.           uniput.obj display.obj status.obj uniput.rbj $(guilibs)
  37.